import { Column, Entity, PrimaryColumn } from 'typeorm';

// 实体类定义
@Entity('t_author')
export class AuthEntity {
  @PrimaryColumn({ name: 'f_id' })
  fId: number;

  @Column({ name: 'f_name' })
  fName: string;

  @Column({ name: 'f_url' })
  fUrl: string;

  @Column({ name: 'f_sort' })
  fSort: string;

  @Column({ name: 'f_pid' })
  fPid: string;

  @Column({ name: 'f_type' })
  fType: string;

  @Column({ name: 'f_icon' })
  fIcon: string;
}
